package com.mock.water.config.shiro;

import org.apache.shiro.authc.AuthenticationToken;

/**
 * $$
 *
 * @author ifredomvip@gmail.com
 * @version 1.0.0
 * @date 2022/10/27 17:35
 **/
public class JwtToken implements AuthenticationToken {
    private final String token;

    public String getLoginType() {
        return loginType;
    }

    private String loginType;

    public JwtToken(String token) {
        this.token = token;
    }

    @Override
    public Object getPrincipal() {
        return token;
    }

    @Override
    public Object getCredentials() {
        return token;
    }
}